package cn.iocoder.yudao.module.pypm.controller.admin.label.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.*;


@Schema(description = "管理后台 - 标签新增/修改 Request VO")
@Data
public class LabelSaveReqVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "23918")
    private Long id;

    @Schema(description = "名称")
    private String label;

    @Schema(description = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "29451")
    @NotNull(message = "项目ID不能为空")
    private Long projectId;

    @Schema(description = "值")
    private String value;

}